#ifndef QNUMBEREDITOR_H
#define QNUMBEREDITOR_H

#include "qabstractpropertyeditor.h"

#include <QSpinBox>

class QAbstractProperty;

class PROPERTY_EDITORSHARED_EXPORT QNumberEditor : public QAbstractPropertyEditor
{
    Q_OBJECT
public:
    Q_INVOKABLE QNumberEditor(QAbstractProperty* property,QWidget *parent = 0);
    
signals:
    
protected slots:
    void    value_changed(int value);
    void    property_value_changed();
protected:
    QSpinBox        *m_spinbox;
};

#endif // QNUMBEREDITOR_H
